package com.tarena.lbs.business.dao.repository;

import com.tarena.lbs.business.pojo.param.StoreParam;
import com.tarena.lbs.business.pojo.po.BusinessPO;
import com.tarena.lbs.business.pojo.po.StorePO;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery;
import com.tarena.lbs.business.pojo.query.BusinessQuery;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

@Repository
public interface StoreRepository {

    void insertStore(StorePO storePO);

    BusinessPO selectBusinessById(Integer businessId);

    List<StorePO> selectByQuery(Integer businessId);

    List<StorePO> selectByBusinessAndAreas(AreaStoreQuery  query);


    void deleteStore(Long id);


    StorePO selectStore(Long id);

    void updateStore(StoreParam param);

    void enableStore(Long id);
}
